AI-powered ECG analysis to detect cardiac arrhythmic episodes